import React from 'react';

function NotFound({ navigationContext }) {
  return (
    <div className="demo3-not-found">
      <h2>404</h2>
      <p>页面不存在</p>
      <button 
        onClick={() => navigationContext.navigate('/')}
        className="demo3-button"
      >
        返回首页
      </button>
    </div>
  );
}

export default NotFound; 